package com.core.life.dao;

import java.util.List;

import com.core.common.dao.IBaseDao;
import com.core.life.entity.AccountingRelationsEntity;

public interface IAccountingRelationsDao extends IBaseDao<AccountingRelationsEntity>{

	void deleteByConsumeCountIds(List<Long> consumeRecordIds);
	
	Double selectSumPayMoney(Integer year,Integer month, Long sourceUserId, Long targetUserId);
	
	List<AccountingRelationsEntity> getByConsumeRecordId(Long consumeRecordId);
	
	List<Object[]> selectSumByConsumeRecordIds(List<Long> consumeRecordIds);
}
